package com.wg.wuge.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class StudyApplication {

    public static void main(String[] args) {


//        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring.xml");
//        ApplicationContext applicationContext =  new AnnotationConfigWebApplicationContext();
        ApplicationContext applicationContext = SpringApplication.run(StudyApplication.class, args);
//        UserServiceImpl service = (UserServiceImpl) applicationContext.getBean("userService");
//        service.printTest();


    }

}
